<i-form :model="this.data" class='app-form' ref='form'  id='phonecall_main' style="">
    <input style="display:none;" />
    <row >
            
<i-col class="form-layout-container" v-show="detailsModel.group1.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-group :model="detailsModel.group1" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.phonecall.main_form.details.group1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >    
    <app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.group1" :data="data" :context="context" :viewparams="viewparams"/>
    <row>
        <i-col class="form-layout-container" v-show="detailsModel.ownername.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='ownername' :itemRules="this.rules.ownername" class='' :caption="$t('entities.phonecall.main_form.details.ownername')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ownername.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.ownername"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.ownername.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.subject.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='subject' :itemRules="this.rules.subject" class='' :caption="$t('entities.phonecall.main_form.details.subject')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.subject.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.subject"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.subject.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.from.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='from' :itemRules="this.rules.from" class='' :caption="$t('entities.phonecall.main_form.details.from')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.from.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.from"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.from.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.to.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='to' :itemRules="this.rules.to" class='' :caption="$t('entities.phonecall.main_form.details.to')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.to.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.to"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.to.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.directioncode.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='directioncode' :itemRules="this.rules.directioncode" class='' :caption="$t('entities.phonecall.main_form.details.directioncode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.directioncode.error" :isEmptyCaption="false" labelPos="LEFT">
    
<dropdown-list 
    v-model="data.directioncode"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.directioncode.disabled"
    style="width:100px;width: 100px;"
    valueType="number"
    tag='YesNo' 
    codelistType='STATIC'
    placeholder='请选择...'
/>
</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.phonenumber.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='phonenumber' :itemRules="this.rules.phonenumber" class='' :caption="$t('entities.phonecall.main_form.details.phonenumber')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.phonenumber.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.phonenumber"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.phonenumber.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.description.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='description' :itemRules="this.rules.description" class='' :caption="$t('entities.phonecall.main_form.details.description')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.description.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.description"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.description.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.actualdurationminutes.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='actualdurationminutes' :itemRules="this.rules.actualdurationminutes" class='' :caption="$t('entities.phonecall.main_form.details.actualdurationminutes')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.actualdurationminutes.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.actualdurationminutes"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.actualdurationminutes.disabled" 
    type='number' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.scheduledend.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='scheduledend' :itemRules="this.rules.scheduledend" class='' :caption="$t('entities.phonecall.main_form.details.scheduledend')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.scheduledend.error" :isEmptyCaption="false" labelPos="LEFT">
    <date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.scheduledend" :disabled="detailsModel.scheduledend.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.scheduledend = val1 }"></date-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.prioritycode.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-item name='prioritycode' :itemRules="this.rules.prioritycode" class='' :caption="$t('entities.phonecall.main_form.details.prioritycode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.prioritycode.error" :isEmptyCaption="false" labelPos="LEFT">
    
<dropdown-list 
    v-model="data.prioritycode"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.prioritycode.disabled"
    valueType="string"
    tag='Phonecall__PriorityCode'
    codelistType='STATIC'
    placeholder='请选择...'
    
/>
</app-form-item>

</i-col>
    
    </row>
</app-form-group>

</i-col>


    </row>
</i-form>